home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / demos / 8 / readme.doc / widths.doc < prev   
Encoding:
Text File  |  1985-06-09  |  1.4 KB  |  42 lines

  1.                  Widths of Things in 4xFORTH
  2.  
  3.  
  4. User Parameter Stack
  5. --------------------
  6.     The stack is 32 bits wide.  Double precision words are considered
  7.     to contain two stack cells one on top of the other.  The most signi-
  8.     ficant value of the two is on top.  Double precision variables are
  9.     entered to the stack from the keyboard by including any of the
  10.     following punctuation marks within a number:
  11.  
  12.                 , / - :   and .
  13.  
  14.     Math routines which are defined by the 83 Standard to leave or use
  15.     double precision numbers leave or use 64 bit values. Double precision
  16.     numbers used inside definitions DO work properly!
  17.  
  18.     Byte values placed on the stack by KEY or any of the byte operators
  19.     are right justified in the 32 bit stack cell.
  20.  
  21.     Word values (16 bit) which might be placed on the stack by "W" 
  22.     operators are also right justified in the 32 bit stack cell.
  23.  
  24.     Variable names leave 32 bit addresses on the parameter stack when
  25.     they are executed.
  26.  
  27.  
  28. Return Stack
  29. ------------
  30.     The return stack is always 32 bits in width.
  31.  
  32.  
  33. Variables
  34. ---------
  35.     Variables defined with VARIABLE or V, constants defined with C
  36.     or CONSTANT, all leave 32 bit variables or addresses on the user
  37.     parameter stack.  Variables which are defined using "TO" concept
  38.     defining word, such as VALUE and VALUES, use 32 bit addresses or
  39.     32 bit data depending on the state of the control variable.
  40.  
  41.  
  42. ə